home *** CD-ROM | disk | FTP | other *** search
/ Star Festival... a Return to Japan / Star Festival... a Return to Japan.iso / pc / STARFESTIVAL / 13r.dir / 00001.ls next >
Encoding:
Text File  |  1999-04-02  |  1.8 KB  |  73 lines

  1. on startMovie
  2.   global gCursorReady, gKnobState, gMagCursor, gsearchOn, qtChan, gKnobSprite, gSendMovie, gCurrentLocation
  3.   puppetSprite(44, 1)
  4.   gCursorReady = 1
  5.   gMagCursor = "magCursor"
  6.   gCurrentLocation = 13
  7.   puppetSprite(48, 1)
  8.   puppetSound(0)
  9.   gSendMovie = "13r"
  10.   qtChan = 35
  11.   sprite(qtChan).volume = 256
  12.   cast("bus2mem").directToStage = 1
  13.   preLoad(qtChan - 1)
  14.   initGlobals()
  15.   gKnobSprite = 17
  16.   setUpKnob()
  17.   if gsearchOn = 1 then
  18.     sprite(6).visible = 1
  19.   else
  20.     sprite(6).visible = 0
  21.   end if
  22.   set the mouseDownScript to EMPTY
  23.   set the mouseUpScript to EMPTY
  24. end
  25.  
  26. on idle
  27.   global gCursorReady
  28.   if gCursorReady = 1 then
  29.     cursor(200)
  30.     checkCursors()
  31.     set the locH of sprite 44 to the mouseH
  32.     set the locV of sprite 44 to the mouseV
  33.     updateStage()
  34.   end if
  35. end
  36.  
  37. on checkCursors
  38.   global gMagCursor
  39.   set the castNum of sprite 44 to the number of member "curs1"
  40.   if rollOver(5) then
  41.     set the castNum of sprite 44 to the number of member "hotCursor"
  42.   end if
  43.   repeat with i = 8 to 12
  44.     if rollOver(i) then
  45.       set the castNum of sprite 44 to the number of member "hotCursor"
  46.     end if
  47.   end repeat
  48.   repeat with i = 14 to 21
  49.     if rollOver(i) then
  50.       set the castNum of sprite 44 to the number of member "hotCursor"
  51.     end if
  52.   end repeat
  53.   if rollOver(22) then
  54.     set the castNum of sprite 44 to the number of member "hotCursor"
  55.   end if
  56.   repeat with i = 24 to 28
  57.     if rollOver(i) then
  58.       set the castNum of sprite 44 to the number of member "hotCursor"
  59.     end if
  60.   end repeat
  61.   if rollOver(36) then
  62.     set the castNum of sprite 44 to the number of member "hotCursor"
  63.   end if
  64.   if rollOver(37) then
  65.     set the castNum of sprite 44 to the number of member "nonCursor"
  66.   end if
  67.   repeat with i = 40 to 42
  68.     if rollOver(i) then
  69.       set the castNum of sprite 44 to the number of member "hotCursor"
  70.     end if
  71.   end repeat
  72. end
  73.